/*
 * Copyright 2020-2025 the original author or authors.
 * You cannot use this file unless authorized by the author.
 */
package org.ipig.model.proc;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * 维度度量指标模型
 *
 * @author <a href="mailto:comchnts@163.com">chinats</a>
 * @version $$Id: DimMetricsMolel.java 3 2020-01-21 09:36:33Z ts <comchnts@163.com> $$
 * @since 1.0
 */
@Data
@ToString
public class DimMetricsMolel implements Serializable {
    /**
     * 业务编码，即维度编号【8n】
     **/
    private String code;
    /**
     * 时间字段名
     **/
    private String time;
    //维度项,有序的（按你插入的顺序）
    private Map<String, String> dimFields = new LinkedHashMap<String, String>();
    //度量指标
    private List<MetricsField> metricsFields = new ArrayList<MetricsField>();
}
